﻿<!DOCTYPE html>

@inject SignInManager<IdentityUser> SignInManager
@inject UserManager<IdentityUser> UserManager
@{

    IdentityUser appUser = await UserManager.GetUserAsync(User);
    var fullName = appUser != null ? appUser.UserName : "";
}

<html>
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <title>任务管理 | @ViewData["Title"]</title>
    <!-- Tell the browser to be responsive to screen width -->
    <meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
    <environment include="Development">
        <link rel="stylesheet" href="~/lib/bootstrap/dist/css/bootstrap.css" />
        <!--jqueryUI-->
        <link rel="stylesheet" href="~/lib/jquery-ui-1.12.1/jquery-ui.min.css" />
        <!--datatables.net-->
        <link rel="stylesheet" href="~/lib/DataTables/datatables.min.css" />
        <!--toastr-->
        <link rel="stylesheet" href="~/lib/toastr/toastr.min.css" />
        <!--sweetalert-->
        <link rel="stylesheet" href="~/lib/sweetalert/sweetalert.css" />
        <!--fontawesome-->
        <link rel="stylesheet" href="~/lib/font-awesome/css/font-awesome.min.css" />
        <!-- Ladda style -->
        <link rel="stylesheet" href="~/lib/ladda/ladda-themeless.min.css">
        <!--layui-->
        @*<link href="~/plugin/layui-v2.2.5/layui/css/layui.css" rel="stylesheet" />*@
        <!-- Theme style -->
        <link rel="stylesheet" href="~/adminlte/css/AdminLTE.min.css">
        <!-- AdminLTE Skins. Choose a skin from the css/skins folder instead of downloading all of them to reduce the load. -->
        <link rel="stylesheet" href="~/adminlte/css/skins/_all-skins.min.css">
        <link href="~/plugin/bootstrap-datetimepicker/css/bootstrap-datetimepicker.min.css" rel="stylesheet" />
        <link rel="stylesheet" href="~/css/site.css" asp-append-version="true">
    </environment>
    <environment exclude="Development">
        <link rel="stylesheet" href="~/css/site.min.css" asp-append-version="true">
    </environment>
    <!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
    <!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
    <!--[if lt IE 9]>
    <script src="https://oss.maxcdn.com/html5shiv/3.7.3/html5shiv.min.js"></script>
    <script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
    <![endif]-->
  
    @RenderSection("Styles", required: false)
</head>
<body class="hold-transition skin-blue fixed">
    <!-- Site wrapper -->
    <div class="wrapper">
        <header class="main-header">
            <!-- Logo -->
            @await Html.PartialAsync("_Logo")
            <!-- Header Navbar: style can be found in header.less -->
            <nav class="navbar navbar-static-top">
                <!-- Sidebar toggle button-->
                <a href="#" class="sidebar-toggle" data-toggle="push-menu" role="button">
                    <span class="phone-only"></span>
                    <span class="icon-bar"></span>
                    <span class="icon-bar"></span>
                    <span class="icon-bar"></span>
                </a>

                <div class="navbar-custom-menu">
                    <ul class="nav navbar-nav">

                        <!-- User Account: style can be found in dropdown.less -->
                        @await Html.PartialAsync("_ProfileSignout")
                    </ul>
                </div>
            </nav>
        </header>
        <!-- =============================================== -->
        <!-- Left side column. contains the sidebar -->
        <aside class="main-sidebar">
            <!-- sidebar: style can be found in sidebar.less -->
            <section class="sidebar">
                <!-- Sidebar user panel -->
                @await Html.PartialAsync("_UserPanel")

            </section>
            <!-- /.sidebar -->
        </aside>
        <!-- =============================================== -->
        <!-- Content Wrapper. Contains page content -->
        <div class="content-wrapper">
            @RenderBody()
        </div>
        <!-- /.content-wrapper -->
        @await Html.PartialAsync("_Footer")

    </div>
    <!-- ./wrapper -->
    <!--modal placeholder-->
    <div class="modal modal-primary fade" id="modalDefaultpic">
        <div class="modal-dialog" style="width:240px">
            <div class="modal-content">
            </div>
        </div>
    </div>
    <environment include="Development">
        <script src="~/lib/jquery/dist/jquery.js"></script>
        <script src="~/lib/bootstrap/dist/js/bootstrap.js"></script>
        <!--jqueryUI-->
        <script src="~/lib/jquery-ui-1.12.1/jquery-ui.min.js"></script>
        <!--datatables.net-->
        <script src="~/lib/DataTables/datatables.min.js"></script>
        <!--layui-->
        @*<script src="~/plugin/layui-v2.2.5/layui/layui.js"></script>*@
        <!--serializeJSON-->
        <script src="~/lib/marioizquierdo-jquery.serializeJSON/jquery.serializejson.min.js"></script>
        <!--toastr-->
        <script src="~/lib/toastr/toastr.min.js"></script>
        <!--sweetalert-->
        <script src="~/lib/sweetalert/sweetalert.min.js"></script>
        <script src="~/lib/ladda/spin.min.js"></script>
        <script src="~/lib/ladda/ladda.min.js"></script>
        <script src="~/lib/ladda/ladda.jquery.min.js"></script>
        <!-- SlimScroll -->
        <script src="~/lib/jquery-slimscroll/jquery.slimscroll.min.js"></script>
        <!-- FastClick -->
        <script src="~/lib/fastclick/lib/fastclick.js"></script>
        <!-- AdminLTE App -->
        <script src="~/adminlte/js/adminlte.min.js"></script>
        <script src="~/plugin/jquery-validate/jquery.validate.min.js"></script>
        <script src="~/plugin/jquery-validate/localization/messages_zh-CN.min.js"></script>
        <script src="~/plugin/bootstrap-datetimepicker/js/bootstrap-datetimepicker.min.js"></script>
        <script src="~/plugin/bootstrap-datetimepicker/js/locales/bootstrap-datetimepicker.zh-CN.js"></script>
        <script src="~/js/signalr.js"></script>
        <script src="~/js/site.js" asp-append-version="true"></script>
    </environment>
    <environment exclude="Development">
        <script src="~/js/site.min.js" asp-append-version="true"></script>
    </environment>
    <script>
        $(document).ready(function () {
            $('.sidebar-menu').tree()
        });
        //layui.use('layer', function () {
        //    var layer = layui.layer;
        //});
        function showpicture(url) {

            var modalId = 'modalDefaultpic';
            var modalPlaceholder = $('#' + modalId + ' .modal-dialog .modal-content');
            var htm = " <img src=" + url + " style='width:100%' >";

            modalPlaceholder.html(htm);
            var popup = $('#' + modalId + '').modal({
                keyboard: false,
                //backdrop: 'static'
            });

        };
    </script>
    @RenderSection("Scripts", required: false)




</body>
</html>
